package starter.repository;

import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import starter.model.Person;
import starter.model.User;

/**
 * @author 上等的猪头肉
 * @Title: UserRepository
 * @ProjectName ElasticsearchSpringData
 * @Description: TODO
 * @date 2018/10/24 10:09
 */
public interface UserRepository extends ElasticsearchRepository<Person, String> {
    Integer deleteByAndId(String person);


}
